package com.waypolice.mapper;

import com.waypolice.pojo.UpmsActDefine;
import com.waypolice.pojo.UpmsActDefineExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zyp
 * @Description:工作流定义mapper接口
 * @Date: Created in 17:09 2018/4/18
 */
public interface UpmsActDefineMapper {
    int countByExample(UpmsActDefineExample example);

    int deleteByExample(UpmsActDefineExample example);

    int deleteByPrimaryKey(Long adId);

    int insert(UpmsActDefine record);

    int insertSelective(UpmsActDefine record);

    List<UpmsActDefine> selectByExample(UpmsActDefineExample example);

    UpmsActDefine selectByPrimaryKey(Long adId);

    int updateByExampleSelective(@Param("record") UpmsActDefine record, @Param("example") UpmsActDefineExample example);

    int updateByExample(@Param("record") UpmsActDefine record, @Param("example") UpmsActDefineExample example);

    int updateByPrimaryKeySelective(UpmsActDefine record);

    int updateByPrimaryKey(UpmsActDefine record);
}